package com.yeren.string;
/**
 * 
 * @author Administrator
 *
 */
public class indexOfDemo {
	public static void main(String[] args) {
		//          0123456789012345
		String str="thinking in java";
		int index=str.indexOf("java");
		System.out.println(index);
	}
}
